{include file="public/tpl/head.html" /}
<body>
    <div>
        <form action="/TeCenter/index/project/form.html" method="post">
            <p>
                <label>项目代码</label>
                <input type="text" name="pro_code" required="required" value="{$list.pro_code|default=""}">
                <input type="hidden" name="dataid" value="Plist">
                {if condition="isset($list.pro_code)"}
                    <input type="hidden" name="pk" value="{$list.pro_code}">   
                {/if}
            </p>
            <p>
                <label>项目名称</label>
                <input type="text" name="pro_name" required="required" value="{$list.pro_name|default=""}">   
            </p>
            <p>
                <label>项目计划期限</label>
                <input type="date" name="plan_start_dt" value="{$list.plan_start_dt|default=""}">  
                <span>至</span> 
                <input type="date" name="plan_end_dt" value="{$list.plan_start_dt|default=""}">  
            </p>
            <p>
                <label>环境</label>
                <br>
                <textarea name="environment" required="required">{$list.environment|default=""}</textarea>
            </p>
            <p>
                <label>项目描述</label>
                <input type="text" name="descrip" required="required" value="{$list.descrip|default=""}">
            </p>
            <p>
                <label>项目内容</label>
                <br>
                <textarea name="content" required="required">{$list.content|default=""}</textarea>
            </p>
            <p>
                <input type="submit" value="提交">
            </p>
        </form>
    </div>
</body>
</html>